#ifndef VENUS_TOOLS_OBJLOADER_H
#define VENUS_TOOLS_OBJLOADER_H

#include "common/venus.h"

namespace venus {
TriangleMesh* LoadObj(const char *filename);
void FinalizeModel(const Point *points, int vertex_count, int *vertex_indices,
                   int *face_count, Normal *normals);
void FirstPass(FILE* fd, int *vertex_count, int *normal_count, 
               int *texcoord_count, int *face_count);
void ParseIndices(char *line, int *vertex_idx, int *texcoord_idx, 
                  int *normal_idx);
} // namespace venus

#endif // VENUS_TOOLS_OBJLOADER_H
